package com.aptemo.webetek.client.commands.impl;

import com.aptemo.webetek.client.commands.Action;
import com.aptemo.webetek.client.commands.responses.ListResponse;
import com.aptemo.webetek.client.enums.EnumUserOrdering;
import com.aptemo.webetek.client.enums.EnumUserStatus;
import com.aptemo.webetek.shared.UserBean;

public class GetPlayersAction implements Action<ListResponse<UserBean>>
{

	private String				teamId;
	private EnumUserStatus		status;
	private boolean				stats;
	private EnumUserOrdering	order;

	protected GetPlayersAction()
	{
	}

	public GetPlayersAction(String teamId)
	{
		this(teamId, null);
	}

	public GetPlayersAction(String teamId, EnumUserStatus status)
	{
		this(teamId, status, EnumUserOrdering.DATE_ASC);
	}

	public GetPlayersAction(String teamId, EnumUserStatus status, EnumUserOrdering order)
	{
		this.teamId = teamId;
		this.status = status;
		this.order = order;
	}

	public String getTeamId()
	{
		return teamId;
	}

	public void setTeamId(String teamId)
	{
		this.teamId = teamId;
	}

	public EnumUserStatus getStatus()
	{
		return status;
	}

	public boolean isStats()
	{
		return this.stats;
	}

	public void setStats(boolean stats)
	{
		this.stats = stats;
	}

	public EnumUserOrdering getOrder()
	{
		return order;
	}

}
